<?
//******************************************************************************
//******************************************************************************
//***    Page des Comptes.                                                   ***
//***          Par Khiguard.                                                 ***
//***                 Le 05-01-2003.                                         ***
//******************************************************************************
//******************************************************************************

        REQUIRE("protect/connect.php");


$query="SELECT perso_pic FROM sduser_perso where perso_id=$userperso";
$resultat=mysql_query($query);
$tmp=mysql_fetch_row($resultat);


$pic=$tmp[0];


?>
<table width="300" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
  <tr> 
    <td><div align="center"><strong><a href="<? echo"accueil.php?p=compte&$SID" ?> ">Utilisateur</a></strong></div></td>
    <td><div align="center"><strong><a href="<? echo"accueil.php?p=comptep$SID" ?> ">Personnage</a></strong></div></td>
  </tr>
</table>
<br> 
<table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
  <tr>
    <td background="<? echo $tmppath.$templates."FondC.jpg";?>">
<div align="center"><u><strong><font size="6" style="filter: DropShadow(Color=#000000, OffX=1, OffY=1, Positive=1); height: 0"><? echo "Option de $username.";?></font></strong></u><br>
      </div>
      <div align="center"><br>
      </div>
      <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" background="<? echo $tmppath.$templates."Fond.jpg";?>">
        <tr> 
          <td height="21"><form name="form1" method="post" action="accueil.php">
              <div align="center"><br>
              </div>
              <table width="75%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" background="<? echo $tmppath.$templates."Fondc.jpg";?>">
                <tr> 
                  <td width="52%" height="19"> <div align="center"> 
                      <table width="75%" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td rowspan="2"><div align="center"><font color="#333333"><strong></strong></font></div>
                            <p align="center">
							
<?
							
				
			
IF (!empty($pic)){							
echo "<img src=\"$pic\">"; 
}                 
				            
							
?>
							</p></td>
                          <td><div align="center"><font color="#333333"><strong><u>Image 
                              du perso</u></strong></font></div></td>
                        </tr>
                        <tr> 
                          <td><div align="center"> 
                              <input name="image" type="text" id="image" value="<? echo $pic ?>" size="30" maxlength="100">
                            </div></td>
                        </tr>
                      </table>
                    </div></td>
                  <td width="48%">&nbsp;</td>
                </tr>
              </table>
              <p>&nbsp;</p>
              <p align="center">
<?
echo"<input name=\"SID\" type=\"hidden\" name=\"SID\" value=\"$SID\" >";
echo"<input name=\"userp\" type=\"hidden\" name=\"userp\" value=\"$userid\" >";
echo"<input name=\"p\" type=\"hidden\" name=\"p\" value=\"test-option\" >";
echo"<input name=\"userp2\" type=\"hidden\" name=\"userp2\" value=\"$userperso\" >";                
echo"<input name=\"choix2\" type=\"hidden\" name=\"choix2\" value=\"optionj\" >";
				
?>
				<input type="submit" name="Submit" value="Envoyer">
              </p>
            </form> </td>
        </tr>
      </table> 
      <br>
    </td>
  </tr>
</table>


<?


?>
